# Makefile for test harness.
# @file Makefile
# @version 0.1
# @date 2011-03-04

all: encrypt decrypt

encrypt: encrypt.cpp
	g++ -Wall -Werror -o encrypt.exe encrypt.cpp

decrypt: decrypt.cpp
	g++ -Wall -Werror -o decrypt.exe decrypt.cpp

test: test-decrypt test-encrypt

test-encrypt: encrypt
	./encrypt.exe

test-decrypt: decrypt
	./decrypt.exe &

clean:
	rm -f encrypt.exe
	rm -f decrypt.exe
